package com.tjsiqi.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Contract {
    private Integer conId;

    private String conNo;

    private String conType;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date conSinTime;

    private String conSinPlace;

    private String conSeller;

    private String conBuyer;

    private String conUniNo;

    private String conProNo;

    private String conProName;

    private String conUnit;

    private String conProPlace;

    private String conCscUnit;

    private String conHead;

    private String conPhone;

    private String conTel;

    private Short conTerPay;

    private Short conReso;

    private String conConvertion;

    private String conUniPlace0;

    private String conLegPerson0;

    private String conAgent0;

    private String conTel0;

    private String conFax0;

    private String conZipCode0;

    private String conCard0;

    private String conUniPlace1;

    private String conLegPerson1;

    private String conAgent1;

    private String conTel1;

    private String conFax1;

    private String conZipCode1;

    private String conCard1;

    private String conProType;

    private String conPayType;

    private String conTraDis;

    private String conWriter;

    public Contract(Integer conId, String conNo, String conType, Date conSinTime, String conSinPlace, String conSeller, String conBuyer, String conUniNo, String conProNo, String conProName, String conUnit, String conProPlace, String conCscUnit, String conHead, String conPhone, String conTel, Short conTerPay, Short conReso, String conConvertion, String conUniPlace0, String conLegPerson0, String conAgent0, String conTel0, String conFax0, String conZipCode0, String conCard0, String conUniPlace1, String conLegPerson1, String conAgent1, String conTel1, String conFax1, String conZipCode1, String conCard1, String conProType, String conPayType, String conTraDis, String conWriter) {
        this.conId = conId;
        this.conNo = conNo;
        this.conType = conType;
        this.conSinTime = conSinTime;
        this.conSinPlace = conSinPlace;
        this.conSeller = conSeller;
        this.conBuyer = conBuyer;
        this.conUniNo = conUniNo;
        this.conProNo = conProNo;
        this.conProName = conProName;
        this.conUnit = conUnit;
        this.conProPlace = conProPlace;
        this.conCscUnit = conCscUnit;
        this.conHead = conHead;
        this.conPhone = conPhone;
        this.conTel = conTel;
        this.conTerPay = conTerPay;
        this.conReso = conReso;
        this.conConvertion = conConvertion;
        this.conUniPlace0 = conUniPlace0;
        this.conLegPerson0 = conLegPerson0;
        this.conAgent0 = conAgent0;
        this.conTel0 = conTel0;
        this.conFax0 = conFax0;
        this.conZipCode0 = conZipCode0;
        this.conCard0 = conCard0;
        this.conUniPlace1 = conUniPlace1;
        this.conLegPerson1 = conLegPerson1;
        this.conAgent1 = conAgent1;
        this.conTel1 = conTel1;
        this.conFax1 = conFax1;
        this.conZipCode1 = conZipCode1;
        this.conCard1 = conCard1;
        this.conProType = conProType;
        this.conPayType = conPayType;
        this.conTraDis = conTraDis;
        this.conWriter = conWriter;
    }

    public Contract() {
        super();
    }

    public Integer getConId() {
        return conId;
    }

    public void setConId(Integer conId) {
        this.conId = conId;
    }

    public String getConNo() {
        return conNo;
    }

    public void setConNo(String conNo) {
        this.conNo = conNo == null ? null : conNo.trim();
    }

    public String getConType() {
        return conType;
    }

    public void setConType(String conType) {
        this.conType = conType == null ? null : conType.trim();
    }

    public Date getConSinTime() {
        return conSinTime;
    }

    public void setConSinTime(Date conSinTime) {
        this.conSinTime = conSinTime;
    }

    public String getConSinPlace() {
        return conSinPlace;
    }

    public void setConSinPlace(String conSinPlace) {
        this.conSinPlace = conSinPlace == null ? null : conSinPlace.trim();
    }

    public String getConSeller() {
        return conSeller;
    }

    public void setConSeller(String conSeller) {
        this.conSeller = conSeller == null ? null : conSeller.trim();
    }

    public String getConBuyer() {
        return conBuyer;
    }

    public void setConBuyer(String conBuyer) {
        this.conBuyer = conBuyer == null ? null : conBuyer.trim();
    }

    public String getConUniNo() {
        return conUniNo;
    }

    public void setConUniNo(String conUniNo) {
        this.conUniNo = conUniNo == null ? null : conUniNo.trim();
    }

    public String getConProNo() {
        return conProNo;
    }

    public void setConProNo(String conProNo) {
        this.conProNo = conProNo == null ? null : conProNo.trim();
    }

    public String getConProName() {
        return conProName;
    }

    public void setConProName(String conProName) {
        this.conProName = conProName == null ? null : conProName.trim();
    }

    public String getConUnit() {
        return conUnit;
    }

    public void setConUnit(String conUnit) {
        this.conUnit = conUnit == null ? null : conUnit.trim();
    }

    public String getConProPlace() {
        return conProPlace;
    }

    public void setConProPlace(String conProPlace) {
        this.conProPlace = conProPlace == null ? null : conProPlace.trim();
    }

    public String getConCscUnit() {
        return conCscUnit;
    }

    public void setConCscUnit(String conCscUnit) {
        this.conCscUnit = conCscUnit == null ? null : conCscUnit.trim();
    }

    public String getConHead() {
        return conHead;
    }

    public void setConHead(String conHead) {
        this.conHead = conHead == null ? null : conHead.trim();
    }

    public String getConPhone() {
        return conPhone;
    }

    public void setConPhone(String conPhone) {
        this.conPhone = conPhone == null ? null : conPhone.trim();
    }

    public String getConTel() {
        return conTel;
    }

    public void setConTel(String conTel) {
        this.conTel = conTel == null ? null : conTel.trim();
    }

    public Short getConTerPay() {
        return conTerPay;
    }

    public void setConTerPay(Short conTerPay) {
        this.conTerPay = conTerPay;
    }

    public Short getConReso() {
        return conReso;
    }

    public void setConReso(Short conReso) {
        this.conReso = conReso;
    }

    public String getConConvertion() {
        return conConvertion;
    }

    public void setConConvertion(String conConvertion) {
        this.conConvertion = conConvertion == null ? null : conConvertion.trim();
    }

    public String getConUniPlace0() {
        return conUniPlace0;
    }

    public void setConUniPlace0(String conUniPlace0) {
        this.conUniPlace0 = conUniPlace0 == null ? null : conUniPlace0.trim();
    }

    public String getConLegPerson0() {
        return conLegPerson0;
    }

    public void setConLegPerson0(String conLegPerson0) {
        this.conLegPerson0 = conLegPerson0 == null ? null : conLegPerson0.trim();
    }

    public String getConAgent0() {
        return conAgent0;
    }

    public void setConAgent0(String conAgent0) {
        this.conAgent0 = conAgent0 == null ? null : conAgent0.trim();
    }

    public String getConTel0() {
        return conTel0;
    }

    public void setConTel0(String conTel0) {
        this.conTel0 = conTel0 == null ? null : conTel0.trim();
    }

    public String getConFax0() {
        return conFax0;
    }

    public void setConFax0(String conFax0) {
        this.conFax0 = conFax0 == null ? null : conFax0.trim();
    }

    public String getConZipCode0() {
        return conZipCode0;
    }

    public void setConZipCode0(String conZipCode0) {
        this.conZipCode0 = conZipCode0 == null ? null : conZipCode0.trim();
    }

    public String getConCard0() {
        return conCard0;
    }

    public void setConCard0(String conCard0) {
        this.conCard0 = conCard0 == null ? null : conCard0.trim();
    }

    public String getConUniPlace1() {
        return conUniPlace1;
    }

    public void setConUniPlace1(String conUniPlace1) {
        this.conUniPlace1 = conUniPlace1 == null ? null : conUniPlace1.trim();
    }

    public String getConLegPerson1() {
        return conLegPerson1;
    }

    public void setConLegPerson1(String conLegPerson1) {
        this.conLegPerson1 = conLegPerson1 == null ? null : conLegPerson1.trim();
    }

    public String getConAgent1() {
        return conAgent1;
    }

    public void setConAgent1(String conAgent1) {
        this.conAgent1 = conAgent1 == null ? null : conAgent1.trim();
    }

    public String getConTel1() {
        return conTel1;
    }

    public void setConTel1(String conTel1) {
        this.conTel1 = conTel1 == null ? null : conTel1.trim();
    }

    public String getConFax1() {
        return conFax1;
    }

    public void setConFax1(String conFax1) {
        this.conFax1 = conFax1 == null ? null : conFax1.trim();
    }

    public String getConZipCode1() {
        return conZipCode1;
    }

    public void setConZipCode1(String conZipCode1) {
        this.conZipCode1 = conZipCode1 == null ? null : conZipCode1.trim();
    }

    public String getConCard1() {
        return conCard1;
    }

    public void setConCard1(String conCard1) {
        this.conCard1 = conCard1 == null ? null : conCard1.trim();
    }

    public String getConProType() {
        return conProType;
    }

    public void setConProType(String conProType) {
        this.conProType = conProType == null ? null : conProType.trim();
    }

    public String getConPayType() {
        return conPayType;
    }

    public void setConPayType(String conPayType) {
        this.conPayType = conPayType == null ? null : conPayType.trim();
    }

    public String getConTraDis() {
        return conTraDis;
    }

    public void setConTraDis(String conTraDis) {
        this.conTraDis = conTraDis == null ? null : conTraDis.trim();
    }

    public String getConWriter() {
        return conWriter;
    }

    public void setConWriter(String conWriter) {
        this.conWriter = conWriter == null ? null : conWriter.trim();
    }
}